<template>
  <div class="container">

  <router-view />

<van-tabbar route>
  <van-tabbar-item replace to="/index" icon="home-o">首页</van-tabbar-item>
  <van-tabbar-item replace to="/service" icon="gem-o">服务</van-tabbar-item>
   <van-tabbar-item replace to="/my" icon="setting-o">我的</van-tabbar-item>

</van-tabbar>

  </div>
</template>

<script setup>
import {ref} from 'vue';
import {showToast} from 'vant';

const active = ref(0);
const onChange = (index) => showToast(`标签 ${index}`);

</script>

<style scoped lang="less">


</style>
